package com.oracle.service.imp;

import com.oracle.vo.BGC;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Service;

/**
 * @program: CampusMatching
 * @description:
 * @author: zhaolei
 * @create: 2020-08-04 10:40
 **/
@Service
public class RabbitmqService {

//    @RabbitListener(queues = "oracle.news")
//    public void sendWeixin(String str) {
//        System.out.println("收到信息：" + str);
//        System.out.println("完成微信的推送：" + str);
//
//    }

//    @RabbitListener(queues = "bgc.news")
//    public BGC getBook(BGC bgc) {
//        System.out.println("收到信息：" + bgc);
//        System.out.println("完成微信的推送：" + bgc);
//        return  bgc;
//    }
}